
var templat='<div class="bxzjpt-breadcrumb">'+
    '<a  href="javascript:;" v-for="(item,i) in crumbdate" :key="i" @click="jumpPage(item)">{{item}} > </a>'+
    '</div>'

Vue.component('crumb', {
    template: templat,
    props: {
        crumbdate: {
            type: Array,
            default: ['首页']
        }
    },

    data: function () {
        return {

        }
    },
    created: function () {

    },
    mounted: function () {

    },
    methods: {
        jumpPage:function(val){
            gotoUrl(val)
        }


    }
})
